package gulimall.ware.feign;

import gulimall.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author HLF
 * @since 2022/5/13 19:58
 */
@Service
@FeignClient(value = "gulimall-product",path = "/product")
public interface ProductFeignService {
    @GetMapping("/skuinfo/skuNameById/{skuId}")
    R skuNameById(@PathVariable("skuId") Long skuId);
}
